package com.gw.booking.dto.wechat;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Pattern;

public class WCustomerPhoneDto {
    @ApiModelProperty(value = "电话")
    @Pattern(regexp = "^.{1,20}$")
    @NotBlank
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
